package com.netintech.common.utils.hk;

import org.springframework.dao.DuplicateKeyException;
import org.springframework.stereotype.Component;

@Component("hkPersonCreate")
public class HkPersonCreate {
	
    ///private HkPersonDao hkPersonDao;
	
	/**
     * 操作方法
	 * @throws AabException 
     */
    public void process(HkPerson record) throws Exception {
    	
		try {
			//hkPersonDao.insert(record);
		} catch (Exception e) {
			e.printStackTrace();
			if (e instanceof DuplicateKeyException) {
				
			} else {
				// throw new AabException(ExceptionCode.HK接口添加用户失败);
			}
		}
	}

}
